<el-form [formGroup]="validateForm" label-width="100px"
         [show-icon]="true" [show-message]="true" el-class="form-demo">

  <el-form-item label="编号" [required]="true">
    <el-input formControlName="id"></el-input>
  </el-form-item>

  <el-form-item label="设备名称" [required]="true">
    <el-input formControlName="name"></el-input>
  </el-form-item>

  <el-form-item label="平台编号" [required]="true">
    <el-input formControlName="appId"></el-input>
  </el-form-item>

  <el-form-item>
    <el-button type="primary" (click)="save()">提交</el-button>
    <el-button (click)="reset()">重置</el-button>
  </el-form-item>

</el-form>
